package com.cxhc.system.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data

public class ApprovalNoPassDto {

    @NotNull(message = "审批事项ID不能为空")
    private Long id;

    @NotNull(message = "审批流程ID不能为空")
    private Long flowId;

    @NotBlank(message = "审批不通过的理由不能为空")
    private String content;

}
